package cn.com.connected.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

/**
 * 
 * 
 * @author sms
 * @email sms@live.com
 * @date 2022-10-22 09:37:51
 */
@TableName(value = "sys_message")
@Data
@ApiModel(description = "")
public class SysMessageEntity{

    @TableId(type = IdType.ASSIGN_UUID)
    @TableField(value = "`id`")
    @ApiModelProperty(value = "")
    private String id;

    @TableField(value = "`member_id`")
    @ApiModelProperty(value = "接受者ID")
    private String memberId;

    @TableField(value = "`content`")
    @ApiModelProperty(value = "内容")
    private String content;


    @TableField(value = "`rel_id`")
    @ApiModelProperty(value = "关联ID")
    private String relId;


    @TableField(value = "`msg_type`")
    @ApiModelProperty(value = "消息类型 dict: msgType")
    private Integer msgType;


    @TableField(value = "`read_status`")
    @ApiModelProperty(value = "是否已读 字典：wether")
    private Integer readStatus;


    @TableField(value = "`create_time`")
    @ApiModelProperty(value = "")
    private Date createTime;


    @TableField(value = "`status`")
    @ApiModelProperty(value = "")
    private Integer status;
}